/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */

@import "compass/reset";
@import "compass/css3";
@import "common";
@import "init";

.get-code{
  background-color: #41C0E4;
  color: #fff;
  @include border-radius(22px);
  padding: 4px 0;
  width: 106px;
  margin-top:14px;
  font-size: 14px;
  &:hover{
    color: #fff;
  }
}
.main{
  background: url("../images/top-bg.png") no-repeat center;
  background-size: cover;
  padding: 60px 0;
  .top-left-box{
    color: #FFFFFF;
    padding: 50px 0;
    p{
      &:first-child{
        font-size: 48px;
      }
      &:nth-child(2){
        font-size: 30px;
        opacity: .8;
        margin-bottom: 10px;
      }
      &:last-child{
        font-size: 18px;
        opacity: .8;
        margin-top: 20px;
        a{
          display: inline-block;
          padding: 3px 12px;
          background-color: #fff;
          margin-right: 10px;
          background-image:  url("../images/button-play.png");
          background-repeat: no-repeat;
          background-position: 60% 50%;
          @include border-radius(6px)
        }
      }
    }
  }
}
//专业倾向测评
.pg-school{
  margin: 74px auto 80px ;
}
.cp-box{
  margin-top: 12px;
  padding-left: 16px;
}
//录取评估
.pg{
  padding-bottom: 50px;
  .pg-box{
    margin-top: 98px;
    img{
      margin: auto !important;
    }
    p{
      font-size: 12px;
      color: #666666;
      line-height: 32px;
    }
  }
}
.my-silde{
  background: #41C0E4;
  padding-bottom: 66px;
  .silder-box{
    min-height: 324px;
    color: #fff;
    h4{
      font-size: 30px;
      margin-top: 48px;
    }
    p{
      font-size: 12px;
      margin-top: 20px;
      line-height: 18px;
      opacity: .8;
    }
  }

}
.tb-gif-content{
  position: relative;
  width: 165px;
  height: 331px;
  .gif{
    position: absolute;
    top: 35px;
    left: 9px;
    right: 0;
    width: 147px;
    height: 259px;
  }
}
.handle-data{
  img{
    margin: auto;
  }
}
.report{
  margin-top: 16px;
  .col-sm-3{
    padding-left: 4px;
    padding-right: 4px;
  }
  .box{
    position: relative;
    p{
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      font-size: 14px;
      color: #FFFFFF;
      padding: 10px;
      background-color: rgba(0, 179, 238, 0.65);
    }
    img{
     width: 100%;
      height: auto;
    }
    ul{
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      padding-left: 22px;
      padding-top: 22px;
      background-color: #fff;
      line-height: 20px;
      li{
        font-size: 14px;
        color: #404040;
        margin-bottom: 10px;
        position: relative;
        &:before{
          content: '';
          display: block;
          width: 4px;
          height: 4px;
          background: #41C0E4;
          @include border-radius(1px);
          position: absolute;
          left: -12px;
          top: 7px;
        }
      }
    }
  }
  .desc{
    p{
      opacity: 0;
    }
    img{
      opacity: 0;
    }
  }
}
.join{
  margin-top: 24px;
  img{
    margin: auto;
  }
}


.footer{
  background-color: #04201C;
  padding-top: 80px;
  .link-box{
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(127,127,127,0.59);
  }
  h4{
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 14px;
  }
  a{
    font-size: 12px;
    color: #777272;
    display: block;
    margin-top: 10px;
  }
  .foot-code{
    font-size: 14px;
    color: #FFFFFF;
    width: 69px;
    p{
      margin-bottom: 12px;
      text-align: center;
    }
  }
  .tpl{
      padding: 40px 0;
      text-align: center;
      color: #777272;
      span{
        color: #FFFFFF;
      }
  }
}


@media (max-width: 768px){
  .navbar-brand{
    img{
      max-width: 72%;
    }
  }
  .my-silde {
    padding-bottom: 40px;
  }
  .nav-ul{
    margin: 8px 0;
    li{
      &:first-child{
        a{
          padding-left: 20px !important;
        }
      }
    }
  }

  .get-code{
    margin-bottom: 20px;
    margin-right: 35%;
  }

  .main{
    padding: 24px 0;
    .top-left-box{
      text-align: center;
      padding-top: 0;
    }
    img{
      display: inline-block;
    }
    .top-iphone{
      text-align: center;
      img{
        display: inline-block;
      }
    }
  }
  //录取评估
  .assess{
    .pg-school-box{
      text-align: center;
    }
    .pg-school{
      display: inline-block;
      margin: 20px 0;
    }
    .pg-iphone{
      text-align: center;
      margin-bottom: 10px;
      img{
        display: inline-block;
      }
    }
  }
  //专业测评
  .cp-box{
    img{
      width: 94%;
      margin: 10px auto 20px;
    }
  }
  //录取评估
  .pg{
    .pg-box{
      margin-top: 18px;
    }
    .lq-pg-iphone{
      margin-top: 10px;
      text-align: center;
      img{
        display: inline-block;
      }
    }
  }
  .school-bk-iphone{
    text-align: center;
    img{
      display: inline-block;
    }
  }
  #myCarousel .col-sm-7{
    height: 224px;
  }
  .my-silde .silder-box h4{
    margin-top: 0;
  }
  .silder-box{
    height: 220px;
  }
  .my-silde {
    .silder-box{
      min-height: 1px;
    }

    img{
      margin: 10px auto;
      float: none !important;
    }
  }
  .join{
    .col-sm-3{
      float: left;
      width: 50%;
      margin-bottom: 10px;
    }
  }
  .footer {
    padding-top: 20px;
    .target-cloud{
      margin-bottom: 30px;
    }
    a{
      display: inline-block;
    }
  }
}
@media (max-width: 375px){
.silder-box {
  height: 240px;
}
}
@media (max-width: 321px){
  #myCarousel .col-sm-7 {
    height: 180px;
  }

}